home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950929-19951130
/
000006_news@columbia.edu_Tue Oct 3 20:39:26 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA28507
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 3 Oct 1995 16:39:46 -0400
Received: by apakabar.cc.columbia.edu id AA28123
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 3 Oct 1995 16:39:43 -0400
Path: news.columbia.edu!news.columbia.edu!not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: If..then in mscustom.ini?
Date: 3 Oct 1995 16:39:26 -0400
Organization: Columbia University
Lines: 28
Message-Id: <44s71u$rpu@watsun.cc.columbia.edu>
References: <44pgi6$por@jaws.cs.hmc.edu>
Nntp-Posting-Host: watsun.cc.columbia.edu
Cc:
In article <44pgi6$por@jaws.cs.hmc.edu>,
Jose Kirkland <jose@bernard.pitzer.edu> wrote:
: Is it possible to place an if-then in the mscustom.ini,
: which would check a dos environmental variable, for ex, and
: perform a specific group of functions or not based upon
: that?
:
Yes. For example:
if equal "\$(VARIABLENAME)" "blah" command...
: (purpose is mixed lanwp/non-lanwp env, want it to see if
: c:\net\bin dir exists on machine, if so connect one way, if
: not then normally... does this make sense?)
:
if directory c:\net\bin command...
: ps-- alternatively, can kermit be told upon execution to
: use a specific .ini file... ie can I make separate .ini's
: for each environment and let the batch which runs kermit
: determine which to select?
:
kermit -f name-of-init-file
or alternatively, within MSCUSTOM.INI, put IF's and GOTO's
based on the value of an environment variable.
- Frank